<?php
return array(
//    'database'    => array(
//        'adapter'  => 'Mysql',
//        'host'     => '59.111.58.100',
//        'port'     => '3301',
//        'username' => 'import',
//        'password' => 'mysqlimport.',
//        'dbname'   => 'ods',
//        'charset'  => 'utf8',
//    ),
//    'database' => [
//        'adapter'  => 'Mysql',
//        'host'     => 'rm-bp1311o2xle56fuom5m.mysql.rds.aliyuncs.com',
//        'port'     => '3306',
//        'username' => 'lvsong',
//        'password' => '!KQnpjLdyLG^2k9b',
//        'dbname'   => 'dev_bigdata',
//        'charset'  => 'utf8',
//    ],
    'database' => [
        'adapter'  => 'Mysql',
        'host'     => '59.111.58.100',
        'port'     => '3301',
        'username' => 'scdx',
        'password' => 'adac8cdsdfgadfa',
        'dbname'   => 'dev_bigdata',
        'charset'  => 'utf8',
    ],
//    'monitor' => [
//        'adapter'  => 'Mysql',
//        'host'     => '59.111.58.100',
//        'port'     => '3301',
//        'username' => 'import',
//        'password' => 'mysqlimport.',
//        'dbname'   => 'ods',
//        'charset'  => 'utf8',
//    ],
    'redis'       => [
        'host'       => '127.0.0.1',
        'port'       => 6379,
        'auth'       => '',
        'persistent' => false,
        'db'         => 0,
        'prefix'     => '___',
    ],
    'application' => [
        'baseUri'           => '/',
        'modelsDir'         => APP_PATH . '/apps/models/',
        'modelsEntitiesDir' => APP_PATH . '/apps/models/entities',
        'modelsServicesDir' => APP_PATH . '/apps/models/services',
        'libraryDir'        => APP_PATH . '/apps/library/Lib/',
        'pluginsDir'        => APP_PATH . '/apps/plugins/',
        'baseDir'           => APP_PATH . '/apps/controllers/Base',
        'viewsDir'          => APP_PATH . '/apps/views/',
        'voltDir'           => APP_PATH . '/cache/volt/',
        'controllersDir'    => APP_PATH . '/apps/controllers/',
        'formsDir'          => APP_PATH . '/apps/forms/',

        //'frontStaticUrl'    => "https://camera.jmuit.com/",
        //'adminStaticUrl'    => "http://cstatic.jmuit.com/",
        //'picStaticUrl'      => "http://cpicture.jmuit.com/",
//        'picStaticUrl'      => "http://camera.jmuit.com/",

//        'frontStaticUrl'    => "//mongo.com",
//        'adminStaticUrl'    => "//mongolocal.com/",
        //'adminStaticUrl'    => "http://mongo2.com",
        //'adminStaticUrl'    => "http://ali.jmuit.com/",
        //'adminStaticUrl'    => "http://yuyue.com",
        //'picStaticUrl'      => "http://cpicture.jmuit.com/",

//        'fileStaticUrl'     => "http://mongo.com",
//        'hostName'          => "http://mongo.com",
        'uploadImgDir'      => "./upload/images/",
        'uploadFileDir'     => "./upload/file/download",
        'debug'             => 1,
    ],
    'cache'       => [
        'lifetime' => 172800,
        'cacheDir' => APP_PATH . '/cache/cache/',
    ],
    'resources'   => [
        'apiPrikey' => '13E41447B5B02AF7C8096C60EC6BF71AE5A2B39A',

    ],

//    'wechat' => [
//        'mchid'     => '1407243402',
//        'key'       => 'fzzrftwhcbyxgs2016115natfotozrft',
        // 线上
//        'appid'     => 'wxcad179861e03ca89',
//        'appsecret' => '33b089cf8a56e700067ef47a8ddbbd13',

        // 测试
        //'appid'     => 'wx299eae3fa46ccb12',
        //'appsecret' => '963d53b379bf188cbc1c730eb4e21dca',
//    ],

    # $config  = $this->getDI()->get('config');
    //$priKey  = $config->resources->apiPrikey;
);


